﻿#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#include<stdlib.h>

//main167：文件删除和重命名移动操作
int main167()
{
	/*if (!remove("../../../file/remove.txt"))
	{
		printf("1.文件删除成功！\n");
	}*/

	/*if (!rename("../../../file/remove.txt", "../../../file/rename.txt"))
	{
		printf("2.文件重命名成功！\n");
	}*/

	//3.将文件rename.txt移动到路径D://file//rename//rename.txt下；
	rename("../../../file/rename.txt", "E://file//rename//rename.txt");

	system("pause");
	return EXIT_SUCCESS;
}